﻿#region Usings

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Runtime.Serialization;
using xConnected.Common;

#endregion

namespace xConnected.Core.Model
{
    [Serializable]
    [DataContract]
    [DisplayColumn("Name")]
    public class ExpertList : PersistentEntity
    {
        public ExpertList()
        {
            ExpertProfiles = new List<ExpertProfile>();
            IsBlackList = false;
        }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public bool IsBlackList { get; set; }

        [DataMember]
        public User Owner { get; set; }

        [DataMember]
        public int OwnerId { get; set; }

        [DataMember]
        public virtual IList<ExpertProfile> ExpertProfiles { get; set; }

    }
}